﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MauTK_Mang1
{
    public class StudentDtbDesComparor : IComparer<Student>
    {
        public int Compare(Student x, Student y)
        {
            if (x.Dtb < y.Dtb)
                return 1;
            if (x.Dtb > y.Dtb)
                return -1;
            return 0;
        }
    }
}
